/* eslint-disable */

import React from 'react';
import { Svg, Path } from 'react-native-svg';
import { getIconColor } from './helper';

let IconLock = ({ size, color, ...rest }) => {
  return (
    <Svg viewBox="0 0 1024 1024" width={size} height={size} {...rest}>
      <Path
        d="M885.012 367.222h-93.071v-89.168c0-148.853-126.373-269.964-281.7-269.964s-281.717 121.11-281.717 269.964v89.168h-93.054c-17.583 0-31.846 13.697-31.846 30.551v478.879c0 82.852 70.329 150.235 156.765 150.235h499.691c86.437 0 156.781-67.382 156.798-150.235v-478.879c-0.001-16.854-14.282-30.551-31.863-30.551zM292.251 278.055c0-115.214 97.791-208.89 217.99-208.89 120.182 0 217.972 93.677 217.972 208.89v89.168h-435.963v-89.168zM853.148 876.652c-0.017 49.179-41.763 89.17-93.071 89.17h-499.691c-51.308 0-93.055-39.991-93.055-89.17v-448.364h685.817v448.364zM461.983 714.564l-20.526 100.594c-1.829 8.978 0.619 18.24 6.671 25.298 6.049 7.026 15.079 11.106 24.59 11.106h75.027c9.509 0 18.54-4.081 24.591-11.106 6.049-7.059 8.497-16.322 6.671-25.298l-20.51-100.558c27.462-15.826 46.075-44.39 46.075-77.282 0-49.818-42.315-90.374-94.315-90.374-52.017 0-94.35 40.557-94.35 90.374 0.001 32.858 18.613 61.421 46.076 77.246z"
        fill={getIconColor(color, 0, '#333333')}
      />
    </Svg>
  );
};

IconLock.defaultProps = {
  size: 18,
};

IconLock = React.memo ? React.memo(IconLock) : IconLock;

export default IconLock;
